import request from '@/utils/request'

export function setDiagParam(data) {
  return request(
    {
      url: '/model/train/setDiagParam',
      method: 'post',
      data: data
    }
  )
}

export function setRulParam(data) {
  return request(
    {
      url: '/model/train/setRulParam',
      method: 'post',
      data: data
    }
  )
}
